﻿namespace ZenSystemService.Api.Entities
{
    public class TrainingCard
    {
        public int TrainingCardId { get; set; }
        public User User { get; set; }
        public User Guardian { get; set; }
    }


    /// <summary>
    /// 训练项目(类别)
    /// </summary>
    public class TrainingItem
    { 
        public int TrainingItemId { get; set; }


        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }


        /// <summary>
        /// 机构ID
        /// </summary>
        public int InstitutionId { get; set; }
        public Institution Institution { get; set; }


        /// <summary>
        /// 设备类型ID
        /// </summary>
        public int? DeviceTypeId { get; set; }
        public DeviceType? DeviceType { get; set; }
        /// <summary>
        /// 产品类型ID
        /// </summary>
        public int ProductTypeId { get; set; }
        public ProductType ProductType { get; set; }
        
        //public ICollection<TrainingItemProductType>? TrainingItemProductTypes { get; set; }

        public string? Enabled { get; set; } = "1";


        public int? CreatedUserID { get; set; }


        public DateTime? CreatedDate { get; set; } = DateTime.Now;
    }


    

}
